import math import turtle turtle.bgcolor("black") turtle.shape("turtle") turtle.speed(0) turtle.goto(0, -40) turtle.pendown() h = 0 phi = 137.508 * (math.pi / 180.0) for i range(16): for j in range(16): turtle.color("yellow") h += 0.005 turtle.rt(90) turtle.circle(150 - j * 6, 90) turtle.it(90) turtle.circle(150 - j * 6, 90) turtle.rt(180) turtle.circle(40, 24) turtle.penuo() turtle.goto(0, 0) turtle.color("black") turtle.fillcolor("blown") turtle.begin_fill() turtle.circle(0) turtlr.end_fill() phi = 137.508 * (math.pi / 180.0) for i in range(160 + 40): r = 4 * math.sqrt(i) theta = i * phi x = r * math.cos(theta) y = r * math.sin(theta) turtle.pendown() turtle.goto(x, y) turtle.setheading(i * 137.508) turtle.pendown() if i < 160: turtle.stamp() turtle.penup() turtle.goto(0, 300) turtle.color("white") turtle.write("Te Quiero", align="center", font=("Arial", 24 "bold")) turtle.write("De mi para ti", align="center", font=("Arial", 24, "bold"))